/*           动态边框            */
.flow-border {
    padding: 6px;
    --border-size: 6px;
    --border-angle: 0turn;
    border-radius: 10px;
    width: 100%;
    height: 30vmin;
    height: 260px;
    background-image: conic-gradient(from var(--border-angle), #213, #112 50%, #213), conic-gradient(from var(--border-angle), transparent 20%, #2eaeb9, #141939);
    background-size: calc(100% - (var(--border-size) * 2)) calc(100% - (var(--border-size) * 2)), cover;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-animation: bg-spin 3s linear infinite;
    animation: bg-spin 3s linear infinite;
}

@-webkit-keyframes bg-spin {
    to {
        --border-angle: 1turn;
    }
}
@keyframes bg-spin {
    to {
        --border-angle: 1turn;
    }
}


@property --border-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 1turn;
}

.flow-border:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

.rows .rows-head-box{
    height: 100%;
}

/*           checkbox 美化                              */

.box {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: relative;
    border: 2px solid #404142;
    vertical-align: middle;
    float: right;
}

.box input {
    opacity: 0;
}

.box span {
    position: absolute;
    top: -15px;
    right: 3px;
    font-size: 30px;
    font-weight: bold;
    font-family: Arial;
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    color: #f8f9fa;
}

input[type="checkbox"] + span {
    opacity: 0;
}

input[type="checkbox"]:checked + span {
    opacity: 1;
}

/*     查询启停项  */
.rows-search {
    margin: 50px;
}

.rows-search .search-group {
    position: relative;
    height: 50px;
}

.rows-search .operate-group{
    text-align: center;
    margin-top: 20px;
}

.rows-search .input-search-group{
    position: absolute;
    margin: auto;
    right: 0;
    display: flex;
    padding-left: 33%;
}



.rows-search .input-search-group,
.rows-search .input-search-group .input-group-prepend,
.rows-search .input-search-group .input-search-control{
    height: 100%;
}
.rows-search .input-search-group .input-search-control{
    border-top : 1px solid #495057;
    border-bottom : 1px solid #495057;
    border-left : 0px;
    border-right : 0px;
}

.rows-search .search-group.search-group-expand {
    position: absolute;
    right: 0;
    margin-top: -50px;
    display: flex;
}

.rows-search .input-search-group .input-group-prepend>.btn.dropdown-toggle:focus {
    box-shadow: unset;
}
.rows-search .input-search-group .input-group-prepend>.btn.btn-outline-secondary.dropdown-toggle:active,
.rows-search .input-search-group .input-group-prepend>.btn.btn-outline-secondary.dropdown-toggle:hover{
    background-color: unset !important;
    color: #212529;
}

.rows-search .input-search-group .input-search-control.form-control:focus{
    border-color: #fff;
    border-top : 1px solid #495057;
    border-bottom : 1px solid #495057;
    box-shadow: 0 0 0 0 #495057;
}
.rows-search .input-search-group .input-group-prepend>.input-search-option-but-left,
.rows-search .input-search-group .input-group-prepend .input-search-option-left
{
    width: 100px;
    min-width: 100px;
}

.rows-search .input-search-group .input-group-prepend>.input-search-option-but-right{
    width: 120px;
}

.rows-search .input-search-group .input-group-prepend>.input-search-option-but-left,
.rows-search .input-search-group .input-group-prepend.input-group-prepend-breakaway>.btn
{
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}
.rows-search .input-search-group .input-group-prepend>.input-search-option-but-right,
.rows-search .input-search-group .input-group-prepend.input-group-prepend-breakaway>.btn
{
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}


.rows-search .input-search-group .btn-outline-secondary.input-search-option-but-right:focus{
    box-shadow: unset;
}

.rows-search .input-search-group .btn-outline-secondary.input-search-option-but-right:hover{
    box-shadow: 0 0 0 0.1rem rgb(108 117 125 / 50%);
}

.rows-search .input-search-group .input-group-prepend.input-group-prepend-breakaway{
    margin-left: 50px;
}

.rows-search .input-search-group .input-group-prepend.timer-switch{
    height: auto;
    position: relative;
    width: 150px;
}
.rows-search .input-search-group .input-group-prepend.timer-switch .bootstrap-switch{
    position: absolute;
    margin: auto;
    height: 50px;
}
.rows-search .input-group-prepend.timer-switch .bootstrap-switch .bootstrap-switch-handle-off,
.rows-search .input-group-prepend.timer-switch .bootstrap-switch .bootstrap-switch-handle-on,
.rows-search .input-group-prepend.timer-switch .bootstrap-switch .bootstrap-switch-label{
    line-height: 50px;
}

.rows-search .input-search-group .input-group-prepend>.input-search-option-but-protocol {
    width: 180px;
}

/* 全局  */
body{
    overflow-x: hidden;
}
.static{
    padding: 1rem;
}
.rows-head .left {
    float: left;
    width: 45%;
    background-color: #141939;
    height : 100%;
}
.rows-head .left .card-body {
    color: #fff;
}
.rows-head .right {
    float: right;
    background: url(/img/bg1.jpg);
    width: 55%;
    background-size: 100% 100%;
    height : 100%;
}
.rows.rows-search {
    clear: both;
    padding-top: 10px;
}

form.search input,form select{

}
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-label{
    line-height: 35px;
    padding: 0px;
    width: 50px;
}
.bootstrap-switch .bootstrap-switch-label{
    background: url("/img/refresh-close.png");
    background-size: 40% 50%;
    background-repeat: no-repeat;
    background-position: 45% 50%;
}
.bootstrap-switch .bootstrap-switch-label.active{
    background: url("/img/refresh-open.png");
    background-size: 40% 50%;
    background-repeat: no-repeat;
    background-position: 45% 50%;
}


.timer-switch{
    font-size: 10px;
    color: #6c757d;
}

.rows.rows-card {
    min-height: 55%;
}

.rows .cards{
    text-align: center;
}

.rows .cards .card-box {
    display: inline-block;
    width: 350px;
    height: 240px;
    margin: 15px 10px;
    text-align: center;
}


.rows .cards .card-box .card{
    text-align: left;
    background-color: #fff;
    border-radius: 10px;
    margin: 10px 10px;;
    height : 95%;
    box-shadow: 0px 0px 10px 10px #a3a2a2;
    border: 1px solid black;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.rows .cards  .card-box .card:hover{
    border: 1px solid #aba5a5;
    height : 100%;
}


.rows .cards .card .card-body p{
    height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 7px;
}
.rows .cards .card .card-body .status{
    mix-blend-mode: difference;
    filter: invert(100%)
}

.rows .cards .card .virtual-status {
    text-decoration-style: dashed;
    text-decoration-line: underline;
    text-underline-offset: 5px;
}

.rows .card .card-body .checkbox{
    float: right;
    pointer-events: none;
}
/* 解决 card-dynamic-operate  float : right 塌陷 step 1 */
.rows .cards .card .card-body p.card-operate {
    overflow: unset;
    height: 30px;
    color: #fff;
}

.rows .cards .card  .card-operate .card-static-operate{
    float: left;
    margin-top: 4px;
}

.rows .cards .card  .card-operate .card-dynamic-operate{
    display: none;
    float: right;
}
.rows .cards .card:hover  .card-operate .card-dynamic-operate{
    display : inline-block;
}

.rows .cards .card .card-operate .operate-box{
    /*  添加宽度 高度 防止span.operate:hover 触发时图标闪动 */
    margin-right: 10px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    height: 30px;
    width: 30px;
    overflow: hidden;
    position: relative;
}


.rows .cards .card .card-operate span.operate:hover{
    font-size: 24px;
}
.rows .cards .card .card-operate span.operate{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.rows .cards .card .card-operate .iconfont{
    font-size: 20px;
}

.rows .cards .card:hover  .background-backdrop{
    display: block;
}

.rows .cards .card .background-backdrop{
    display: none;
    height: 100px;
    background: linear-gradient(transparent,rgba(0,0,0,.8));
    border-radius: 10px;
}


.rows .pagination{
    float: right;
}
.pagination .page-item.active:first-child .page-link.prev{
    background-color: #929497;
    cursor: no-drop;
    border-color: #929497;
}
.pagination .page-item.active:last-child .page-link.next{
    background-color: #929497;
    cursor: no-drop;
    border-color: #929497;
}
.pagination .page-item{
    cursor: pointer;
}

.rows .pagination-lg .page-link {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.55rem 1rem;
}

.rows .pagination-lg .page-link.total {
    border: 0px;
    color: black;
}